﻿using System.Web;
using System.Web.Optimization;

namespace DukeNUS.FacilitiesPlanning.FPSystem
{
    public class BundleConfig
    {
        // For more information on Bundling, visit http://go.microsoft.com/fwlink/?LinkId=254725
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/js/jquery").Include(
                        "~/Scripts/jquery-{version}.js"));

            bundles.Add(new ScriptBundle("~/js/bootstrap").Include(
                        "~/Scripts/bootstrap.js"));

            bundles.Add(new ScriptBundle("~/js/ko").Include(
                        "~/Scripts/knockout-{version}.js"));

            bundles.Add(new ScriptBundle("~/js/ie8support").Include(
                        "~/Scripts/html5shiv.js",
                        "~/Scripts/respond.js"));

            bundles.Add(new ScriptBundle("~/js/ie10workaround").Include(
                        "~/Scripts/ie10-viewport-bug-workaround.js"));

            bundles.Add(new ScriptBundle("~/js/app").Include(
                        "~/Scripts/application.js"));

            bundles.Add(new ScriptBundle("~/js/ko").Include(
                        "~/Scripts/knockout-{version}.js"));

            bundles.Add(new ScriptBundle("~/js/gritter").Include(
                        "~/Scripts/jquery.gritter.js",
                        "~/Scripts/jquery.gritter.setup.js",
                        "~/Scripts/gritter.js"));

            bundles.Add(new ScriptBundle("~/js/modernizr").Include(
                        "~/Scripts/modernizr-*"));

            bundles.Add(new ScriptBundle("~/js/signin").Include(
                        "~/Scripts/signin.js"));

            bundles.Add(new ScriptBundle("~/js/currentviewinit").Include(
                        "~/Scripts/current-view.js"));

            bundles.Add(new ScriptBundle("~/js/currentviewlaunch").Include(
                        "~/Scripts/current-view-launch.js"));

            bundles.Add(new StyleBundle("~/css/bootstrap").Include(
                        "~/Content/bootstrap.css",
                        "~/Content/bootstrap-theme.css"));

            bundles.Add(new StyleBundle("~/css/gritter").Include(
                        "~/Content/jquery.gritter.css"));

            bundles.Add(new StyleBundle("~/css/base").Include(
                        "~/Content/base.css"));

            bundles.Add(new StyleBundle("~/css/stickyfooter").Include(
                        "~/Content/sticky-footer.css"));

            bundles.Add(new StyleBundle("~/css/signin").Include(
                        "~/Content/signin.css"));
        }
    }
}